import os
path="data/cvpr/test_crop_gaussian/pred_crop13_ocr/anno"
for id in os.listdir(path):
    id_path=os.path.join(path, id)
    for item in os.listdir(id_path):
        if item.endswith(".png"):
            os.remove(os.path.join(id_path,item))